<h2><?php echo $cont_title; ?></h2>

<?php if($num_rows > 0){ ?>
<form action="<?php __e($frm_action);?>" method="post" name="<?php __e($frm_name);?>" id="<?php __e($frm_name);?>" class="frmreg" enctype="multipart/form-data">
  <table width="100%" class="tables_sample1 mytables" id="myTable" border="0">
    <thead>
      <tr class="th">
        <th align="left" width="1%">&nbsp;</th>
        <th align="left" width="5%">ID</th>
        <th align="left" width="5%">Type</th>
        <th align="left" width="40%">Title</th>
        <th align="left" width="12%">Price</th>
        <th align="left" width="8%">Action</th>
        <th align="left" width="1%">&nbsp;</th>
      </tr>
      <?php
      foreach ($cart as $key => $val){ ?>
      <tr class="trbottomhr pane">
        <td align="left" valign="top">&nbsp;</td>
        <td align="left" valign="top"><?php __display_data($val['id']); ?></td>
        <td align="left" valign="top"><?php __display_data($val['type']); ?></td>
        <td align="left" valign="top">
          <a href="<?php __display_data($val['url']); ?>" title="<?php __display_data($val['name']); ?>">
            <?php __display_data($val['name']); ?>
          </a>
        </td>
        <td align="left" valign="top"><?php __display_data(__price($val['price'])); ?></td>
        <td align="left" valign="top">
          <a href="javascript:;" onclick="fn_dela('<?php __e($val['id']);?>');" title="Delete <?php __display_data($val['name']); ?>">Delete</a>
        </td>
        <td align="left" valign="top">&nbsp;</td>
      </tr>
      <?php } ?>
      
    </thead>  
  </table>
  <br/>
  <input type="button" class="btnreg btnpad" value="Checkout" id="btn_checkout" name="btn_checkout" onclick="redirect_page('<?php __e(site_url($c.'/reg'));?>')">
  <input type="button" class="btnreg btnpad" value="Shop More" id="btn_more" name="btn_more" onclick="redirect_page('<?php __e(site_url('journals/search'));?>')">
</form>
<?php }else{ /*</else:if($num_rows > 0)>*/ ?>
<h3><?php __e(LIST_NO_DATA_MSG);?></h3>	
<?php }/*</if($num_rows > 0)>*/ ?>
